<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/pintuer.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin.css">
<script src="${pageContext.request.contextPath}/js/jquery.js"></script>
<script src="${pageContext.request.contextPath}/js/pintuer.js"></script>
  <script type="text/javascript">
    function selectStore() {

        console.log("=》进入了js")
      if(isNaN(${requestScope.messge})){
        window.location="${pageContext.request.contextPath}/selectManager?action=querry";
        alert("查询成功！")
      }else {
        alert(${requestScope.messge})
      }

    }

    $(document).ready(function(){
      $("ul li:eq(1)").addClass("active");
    });
  </script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder"> 内容列表</strong></div>
  <div class="padding border-bottom">
  <button type="button" class="button border-yellow" onclick="selectStore()"><span class="icon-plus-square-o"></span> 查询已发布店铺信息</button>
  </div>
<form>
  <table class="table table-hover text-center">
    <tr>
      <th width="10%">店铺ID</th>
      <th width="20%">店铺名称</th>
      <th width="15%">店铺标语</th>
      <th width="20%">位置</th>
      <th width="15%">操作</th>
    </tr>

    <tr>
      <td>${requestScope.store.store_id}</td>
      <td>${requestScope.store.store_name}</td>
      <td>${requestScope.store.store_ad}</td>
      <td>${requestScope.store.store_location}</td>
      <td><div class="button-group">
      <a class="button border-main" href="${pageContext.request.contextPath}/customer/index.jsp"><span class="icon-edit"></span> 进店点餐</a>
      </div></td>
    </tr>

  </table>
</form>
</div>

<script type="text/javascript">
function del(id,mid){
	if(confirm("您确定要删除吗?")){

	}
}
</script>

</body></html>
